#ifndef PLAYSCENE_H
#define PLAYSCENE_H

#include <QMainWindow>
#include "mycoin.h"
class PlayScene : public QMainWindow
{
    Q_OBJECT
public:
    PlayScene(int levelNum);
    int levelIndex; //内部成员属性 记录所选关卡
    //重写paintEvent事件
    void paintEvent(QPaintEvent*);

    int gameArray[4][4];    //二维数组，维护每个关卡的具体数据
    MyCoin* coinBtn[4][4];

    //是否胜利
    bool isWin;
    //是否完全失败
    bool isLose;
    PlayScene* play = NULL;
signals:
    void chooseScenceBack();
public slots:
};

#endif // PLAYSCENCE_H
